<?php
class Rec extends AppModel
{
    var $name = 'Rec';
    var $validate = array(
        'title'=> array(
           'between' => array('rule' => array('between',5,100)),
            'alphaNumeric' => array('rule'=> 'alphaNumeric')
            ),
        'url' => array(
            'rule' => array('url',true)
           ),
        'remark' => array(
            'rule' => array('maxLength',150),
       )
    );
}
?>